<?php /* Smarty version 2.6.12, created on 2008-11-18 14:23:26
         compiled from main/popup_files_js.tpl */ ?>
<script type="text/javascript" language="JavaScript 1.2">
<!--
function popup_files (filename, path) {
	window.open ("popup_files.php?<?php if ($this->_tpl_vars['usertype'] == 'A'): ?>product_provider=<?php echo $this->_tpl_vars['product']['provider']; ?>
&<?php endif; ?>field_filename="+filename+"&field_path="+path, "selectfile", "width=600,height=550,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no");
}

function popup_images (filename, path) {
	window.open ("popup_files.php?tp=images&field_filename="+filename+"&field_path="+path, "selectfile", "width=600,height=450,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no");
}
-->
</script>